@extends('web.master')
@section('title','个人信息')
    @section('head')
        <link rel="stylesheet" href="{{asset('statics/css/index.css')}}" />
        @endsection
@section('content')
    <div class="myTop">
        <div class="myBg">
            <div class="myBox">
                <div class="mycont">
                    <a href="{{route('user_profile')}}" class="change">编辑</a>
                    <div class="head">
                        <img src="{{$user->headimgurl}}" />
                    </div>
                    <h1>{{$user->nickname}}</h1>
                    <p>{{$user->mobile}}</p>
                    <div class="tip">
                        <div class="left tipcont">
                            <img src="{{asset('statics/images/icon1.png')}}" />
                            <p class="orange">{{count($user->scenic)}}</p>
                            <p>已游景点</p>
                        </div>
                        <div class="right  tipcont">
                            <img src="{{asset('statics/images/icon2.png')}}" />
                            <p class="orange">{{$user->wallet_spots}}</p>
                            <p>景点</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="myCont">
        <ul class="listItem">
            <li>
                <a href="{{route('user_combo')}}">我的套餐<img src="{{asset('statics/images/btn_arrow.png')}}"/></a>
            </li>
          <li>
                <a href="{{route('user.exchange')}}">我的兑换<img src="{{asset('statics/images/btn_arrow.png')}}"/></a>

            </li>
            <li>
                <a href="{{route('user_prizes')}}">我的奖品<img src="{{asset('statics/images/btn_arrow.png')}}"/></a>
            </li>
        </ul>
        <ul class="listItem">
            <li>
                <a href="###">推荐人<span class="right">{{$user->parent->nickname or ''}}</span></a>
            </li>
            <li>
                <a href="{{route('user_qrcoderout')}}">推广二维码<img src="{{asset('statics/images/btn_arrow.png')}}"/></a>
            </li>
            <li>
                <a href="{{route('user_group')}}">我的团队<img src="{{asset('statics/images/btn_arrow.png')}}"/></a>
            </li>

            <li>
               @if($user->is_display==0) <a href="{{route('user_record')}}">我的提成
                    <span class="right orange">￥{{$user->wallet_push_money}}</span></a>
            </li>@endif
            <li>
                <a href="{{route('user_withdrawals')}}">提现<img src="{{asset('statics/images/btn_arrow.png')}}"/></a>
            </li>
            <li>
                <a href="{{route('user_presentRecord')}}">提现记录<img src="{{asset('statics/images/btn_arrow.png')}}"/></a>
            </li>
        </ul>
    </div>
    @endsection